package com.bookcycle.model;

public class SellBook extends Book{

	private int sellerId;
	
	public SellBook(){}
	
	public SellBook(int sellerId, String bookname, String filename, String onTime, String price, String degree) {
		super(bookname, filename, onTime, price, degree);
		this.sellerId = sellerId;
	}
	
	public int getSellerId() {
		return sellerId;
	}
	public void setSellerId(int sellerId) {
		this.sellerId = sellerId;
	}
	@Override
	public String toString() {
		return "SellBook [id=" + id + ", sellerId=" + sellerId + ", bookname=" + bookname + ", filename=" + filename
				+ ", onTime=" + onTime + ", price=" + price + ", degree=" + degree + "]";
	}
	
}
